package com.ytjj.qmyx.admin.service;

import com.ytjj.qmyx.admin.model.request.channel.ChannelGoodsRequest;
import com.ytjj.qmyx.admin.model.request.goods.GetEvaluationFeedbackRequest;
import com.ytjj.qmyx.admin.model.request.goods.GetEvaluationInfoRequest;
import com.ytjj.qmyx.admin.model.request.goods.GoodsRequest;
import com.ytjj.qmyx.admin.model.response.goods.*;

import java.util.List;

/**
 * 
 *  *
 **/
public interface GoodsService {

    GoodsResponse getGoodsInfo(Integer goodsId);

    /**
     * 查询国家列表
     * @return
     */
    String selectContryListNew();

    /**
     * 查询计量单位列表
     * @return
     */
    String selectProductUnitNew();

    /**
     * 获取商品信息
     */
    String getGoodsInfoNew(Integer goodsId);

    /**
     * 更新商品信息
     */
    void  updateGoods(GoodsRequest goodsRequest);

    /**
     * 获取测评详情
     */
    List<EvaluationInfoResponse> getEvaluationInfo(GetEvaluationInfoRequest request);

    /**
     * 获取测评详情
     */
    List<EvaluationInfoDetailResponse> getEvaluationInfoDetail(Integer productId, Integer pageNum, Integer pageSize);

    /**
     * 获取测评反馈
     */
    List<EvaluationFeedbackResponse> getEvaluationFeedback(GetEvaluationFeedbackRequest request);

    /**
     * 测评反馈选择官网栏目
     */
    void updateBankerColumn(Integer productId, Integer bankerColumnId);

    /**
     * 获取测评明细
     */
    List<EvaluationDetailedResponse> getEvaluationDetailed(GetEvaluationFeedbackRequest request);

    List<EvaluationDetailedInfoResponse> getEvaluationDetailedInfo(Integer id, Integer pageNum, Integer pageSize);

    void  updateGoodsTwo(GoodsRequest goodsRequest);

    /**
     * 更新商品信息app
     */
    void updateGoods(ChannelGoodsRequest goodsRequest);

    /**
     * 更新商品信息地区销售渠道
     */
//    void updateGoodsForProvince(ChannelGoodsRequest goodsRequest);

    void updateGoodsStatusByPrc(String bankerProductIds);
}
